package com.fzh.pojo.entity;

public class Message {
	private Integer id;
	/**
	 * 链接用户的外键id
	 */
	private Integer f_uid;
	/**
	 * 留言内容
	 */
	private String content;
	/**
	 * 发起留言的时间
	 */
	private String createTime;
	/**
	 * 联系方式
	 */
	private String phone;
	/**
	 * 是否已回复留言(0代表没有，1代表回答了)
	 */
	private Integer isAnswer;
	/**
	 * 回复的内容
	 */
	private String answer;
	/**
	 * 回复的时间
	 */
	private String answerTime;
	/**
	 * 是否公开(0代表否，1代表是)
	 */
	private Integer isPublic;
	/**
	 * 产品id
	 */
	private Integer ext1;
	/**
	 * 产品id
	 */
	private Integer ext2;
	
	public Integer getExt1() {
		return ext1;
	}
	public void setExt1(Integer ext1) {
		this.ext1 = ext1;
	}
	public Integer getExt2() {
		return ext2;
	}
	public void setExt2(Integer ext2) {
		this.ext2 = ext2;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getF_uid() {
		return f_uid;
	}
	public void setF_uid(Integer f_uid) {
		this.f_uid = f_uid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getIsAnswer() {
		return isAnswer;
	}
	public void setIsAnswer(Integer isAnswer) {
		this.isAnswer = isAnswer;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public String getAnswerTime() {
		return answerTime;
	}
	public void setAnswerTime(String answerTime) {
		this.answerTime = answerTime;
	}
	public Integer getIsPublic() {
		return isPublic;
	}
	public void setIsPublic(Integer isPublic) {
		this.isPublic = isPublic;
	}
	public Message(Integer id, Integer f_uid, String content, String createTime, String phone, Integer isAnswer,
			String answer, String answerTime, Integer isPublic) {
		super();
		this.id = id;
		this.f_uid = f_uid;
		this.content = content;
		this.createTime = createTime;
		this.phone = phone;
		this.isAnswer = isAnswer;
		this.answer = answer;
		this.answerTime = answerTime;
		this.isPublic = isPublic;
	}
	public Message() {
		super();
	}
	@Override
	public String toString() {
		return "message [id=" + id + ", f_uid=" + f_uid + ", content=" + content + ", createTime=" + createTime
				+ ", phone=" + phone + ", isAnswer=" + isAnswer + ", answer=" + answer + ", answerTime=" + answerTime
				+ ", isPublic=" + isPublic + "]";
	}
	
	
	
}
